<?php

for ($i = 0; $i < sizeof($arr_all_user); $i++) {
	$sql = "Exec Onegate_LoginInfoGetAll ";
	$sql = $sql.$arr_all_user[$i][0];
	$sql = $sql.", ".$v_page;
	$sql = $sql.", ".$v_limit_row;	
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$arr_all_record[$i] = $ado_conn->GetAll($sql);	
	$record_count[$i] = sizeof($arr_all_record[$i]);
	$sql = "Exec Onegate_CountAllRecordLoginInfo ";
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$sql = $sql.$arr_all_user[$i][0];
	$array_total_record = $ado_conn->GetAll($sql);
	$total_record[$i] = $array_total_record[0]["TOTAL_RECORD"];		
}
?>